package org.compiere.model;

import java.util.Properties;

import org.compiere.util.Env;
import org.erps.MakeSwift;

public class CalloutSwift extends CalloutEngine {
	
	public String createSwift(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) {
		String result = "";
		int ID = mTab.getRecord_ID();
		MakeSwift makeswift = new MakeSwift(ctx, WindowNo, ID);
		makeswift.make();
		return result;
	}
	
	public String createSwiftHRMInterCheckOff(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) {
		String result = "";
		int ID = mTab.getRecord_ID();
		Mhrmintercheckoff ico = new Mhrmintercheckoff(ctx, ID, null);
		MakeSwift makeswift = new MakeSwift(ctx, ico);
		makeswift.make();
		return result;
	}
}
